package com.example.mapper;

import Job.Dto.JobDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "job-service",path = "/jobs")
public interface JobClient {
    @GetMapping("/findJobById/{id}")
    JobDto findById(@PathVariable("id") int id);


}

